const { merge } = require("webpack-merge");
const prodConfig = require("./inject.common");
const TerserPlugin = require("terser-webpack-plugin");

module.exports = merge(prodConfig, {
  optimization: {
    minimize: true,
    minimizer: [new TerserPlugin()],
  },
});
